DocCADLink_AfterReadMTBProperties event

Occurs after a document property that is mapped to multiple title block attributes is read.

Syntax

DocCADLink_AfterReadMTBProperties (Batch, BCPropStorage)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

BCPropStorage

An object that contains the property information that will be written. See About the BCPropStorage object for its available properties and methods.

Remarks

This event occurs only in the linked applications, not in the Meridian client applications.

Example

Sub DocCADLink_AfterReadMTBProperties(Batch, MTBProperties)
  Dim rowCollection
  Dim allColDefs
  Dim colDef
  Dim row
  Set allColDefs = MTBProperties.GetColumnDefs(2)
  Set rowCollection = MTBProperties.Rows

  For Each row in rowCollection
    For Each colDef In allColDefs
      If Not IsNull(row.Property(colDef.Name).Value) Then
        WinMsgBox "AfterReadMTB_Layout: " & _
          row.Property( "Layout").Value & vbCrLf & _
          "Property: " & CStr(colDef.Name) & vbCrLf & _
          "Value: " & CStr(row.Property(colDef.Name).Value)
      End If
    Next
  Next
End Sub